CC=g++
CFLAGS=-Wall -g -g3 -c

all: problem2.1

problem2.1: big_int_test.o big_int.o smart_vector.o
	$(CC) -lboost_unit_test_framework big_int_test.o big_int.o smart_vector.o -o problem2.1

big_int_test.o: big_int_test.cpp
	$(CC) $(CFLAGS) big_int_test.cpp

big_int.o: big_int.cpp
	$(CC) $(CFLAGS) big_int.cpp
	
smart_vector.o: smart_vector.cpp
	$(CC) $(CFLAGS) smart_vector.cpp

clean:
	rm -f problem2.1 *.o
